package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.PharmacistApplyDao;
import com.frogs.ucenter.entity.PharmacistApply;
import com.frogs.ucenter.service.PharmacistApplyService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("pharmacistApplyService")
public class PharmacistApplyServiceImpl extends BaseServiceImpl<PharmacistApply> implements PharmacistApplyService {
    @Autowired
    private PharmacistApplyDao pharmacistApplyDao;

    public PharmacistApplyServiceImpl() {
        super();
    }

    public PharmacistApplyDao getPharmacistApplyDao() {
        return pharmacistApplyDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<PharmacistApply> getBaseDao() {
        return pharmacistApplyDao;
    }

    public void setPharmacistApplyDao(PharmacistApplyDao pharmacistApplyDao) {
        this.pharmacistApplyDao = pharmacistApplyDao;
    }
}